package com.tuanzi.loan.business.entity.miniApps.articleLibrary;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "loan_mini_apps_article_record")
public class MiniAppsArticleRecord implements Serializable {

	private static final long serialVersionUID = 253852621723457868L;

	@Id
	@Column(name = "ARTICLE_ID")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long articleId;

	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "OPEN_ID")
	private String openId;
	
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "TYPE")
	private Byte type;
	
	@Column(name = "CREATE_TIME")
	private Date createTime;
	
	@Column(name = "STATUS")
	private Byte status;
	
	@Column(name = "UPDATE_COUNT")
	private Byte updateCount;
	

}
